package com.peanut.service;

import com.peanut.domain.bo.ForumCommentBO;
import com.peanut.domain.po.ForumComment;
import com.peanut.domain.po.TabAdmin;

import java.util.List;
import java.util.Map;

public interface ForumCommentService {
    boolean insertComment(ForumCommentBO bo, TabAdmin tabAdmin);

    List<Map<String, Object>> getComments(String id);

    boolean insertChildComment(ForumCommentBO bo, TabAdmin tabAdmin);

    boolean delete(String id);

    Long deleteComment(String id);

    ForumComment selectById(String id);

    void likeComment(String id);

    void updateComment(String id, String forumComment);
}
